package service

import (
	"seat-service/model/dto"
	"time"
)

type Reservation interface {
	QueryReservation(page, pageSize int) (dto.ReservationReturnDto, error)
	QueryConditionReservation(page, pageSize int, name, studentNumber, building, classroom, seat, reserveStatus string, start, end time.Time) (dto.ReservationReturnDto, error)
	CancelReservation(id uint) error
}
